package org.jeecg.modules.complain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 维修状态
 */
@Data
@TableName("prj_repair_status")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="prj_repair_status对象", description="报修状态")
public class RepairStatus {
    /**id*/
    @TableId(type = IdType.UUID)
    @ApiModelProperty(value = "id")
    private String id;
    /**报修主表id*/
    @Excel(name = "报修主表id", width = 15)
    @ApiModelProperty(value = "报修主表id")
    private String repairId;
    /**报修状态*/
    @Excel(name = "报修状态", width = 15)
    @ApiModelProperty(value = "报修状态")
    private Integer status;
    /**执行人员id*/
    @Excel(name = "执行人员id", width = 15)
    @ApiModelProperty(value = "执行人员id")
    private String userId;
    /**执行人员名称-冗余字段*/
    @Excel(name = "执行人员名称-冗余字段", width = 15)
    @ApiModelProperty(value = "执行人员名称-冗余字段")
    private String userName;
    /**执行人员手机号*/
    @Excel(name = "执行人员手机号", width = 15)
    @ApiModelProperty(value = "执行人员手机号")
    private String mobile;
    /**执行时间*/
    @Excel(name = "执行时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "执行时间")
    private java.util.Date executeTime;
    /**处理内容(完成情况)*/
    @Excel(name = "处理内容(完成情况)", width = 15)
    @ApiModelProperty(value = "处理内容(完成情况)")
    private String contents;
    /**处理图片*/
    @Excel(name = "评价图片", width = 15)
    @ApiModelProperty(value = "评价图片")
    private String commentImg;
    /**创建者*/
    @Excel(name = "创建者", width = 15)
    @ApiModelProperty(value = "创建者")
    private String createBy;
    /**创建时间*/
    @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
    /**更新者*/
    @Excel(name = "更新者", width = 15)
    @ApiModelProperty(value = "更新者")
    private String updateBy;
    /**更新时间*/
    @Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;
    /**备注信息*/
    @Excel(name = "备注信息", width = 15)
    @ApiModelProperty(value = "备注信息")
    private String remarks;
    /**删除标记*/
    @Excel(name = "删除标记", width = 15)
    @ApiModelProperty(value = "删除标记")
    private String delFlag;
    //回访内容
    private String reviewContent;
   //回访日期
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private java.util.Date reviewTime;
    private String attachFile;
    //是否付款
    private Integer confirmPay;
    private Integer returnRepair;
    private  String  beforePicture;
    //短信
    @TableField(exist = false)
    private String projectName;
    @TableField(exist = false)
    private String phone;
    @TableField(exist = false)
    private String realName;
}
